package com.yunxin.core.infra.persistence.entity.channel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 渠道推广连接配置表
 *
 * @author zero°
 * @since   2023-08-02
 */
public class ChannelPromotionLinkConfigDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 推广id
     */
    private Long promotionId;

    /**
     * 推广方式 1.贷超
     */
    private Integer promotionType;

    /**
     * 最低可贷款金额
     */
    private BigDecimal lowestLoanAmount;

    /**
     * 最高可借款金额
     */
    private BigDecimal highestBorrowableAmount;

    /**
     * 标识删除 0.存在 1.删除
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    /**
     * 贷款分期(JSON实体-list)
     */
    private String loanPeriod;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

    public BigDecimal getLowestLoanAmount() {
        return lowestLoanAmount;
    }

    public void setLowestLoanAmount(BigDecimal lowestLoanAmount) {
        this.lowestLoanAmount = lowestLoanAmount;
    }

    public BigDecimal getHighestBorrowableAmount() {
        return highestBorrowableAmount;
    }

    public void setHighestBorrowableAmount(BigDecimal highestBorrowableAmount) {
        this.highestBorrowableAmount = highestBorrowableAmount;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getLoanPeriod() {
        return loanPeriod;
    }

    public void setLoanPeriod(String loanPeriod) {
        this.loanPeriod = loanPeriod;
    }
}